IRQ: Introduce old_vector to irq_cfg
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Sep 2011 14:09:24 +0000 (15:09 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Sep 2011 14:09:24 +0000 (15:09 +0100)
commitfdf21233645251000b1c8c9c24fb0e8cd6e2ee24
tree676af6d996ef3f506a74c41c060643dc21962930
parent8d8bc3af8818ca8c3c4b2d20f898084cff8ac3cb
IRQ: Introduce old_vector to irq_cfg

Introduce old_vector to irq_cfg with the same principle as
old_cpu_mask.  This removes a brute force loop from
__clear_irq_vector(), and paves the way to correct bitrotten logic
elsewhere in the irq code.

Signed-off-by Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/io_apic.c
xen/arch/x86/irq.c
xen/include/asm-x86/irq.h